package com.ruoyi.cfuser.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单管理对象 orders
 * 
 * @author feng
 * @date 2025-02-21
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private Long id;

    /** 核销码 */
    @Excel(name = "核销码")
    private String verificationCode;

    /** 核销码图片 */
    private String verificationImg;

    /** 店铺 */
    @Excel(name = "店铺")
    private Integer mid;

    /** 用户 */
    @Excel(name = "用户")
    private Integer uid;

    /** 服务详情 */
    @Excel(name = "服务详情")
    private Integer serviceId;

    /** 服务类别 */
    @Excel(name = "服务类别")
    private Integer serviceTypeId;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private String orderTime;

    /** 预约时间 */
    @Excel(name = "预约时间")
    private String reservationTime;

    /** 订单车辆id号 */
    @Excel(name = "订单车辆id号")
    private Integer carId;
    /** 订单车辆 */
//    @Excel(name = "订单车辆id号")
//    private carinfo;

    /** 平台券 */
    @Excel(name = "平台券")
    private Integer platformCouponId;

    /** 商家券 */
    @Excel(name = "商家券")
    private Integer shopCouponId;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private Double price;

    /** 支付时间 */
    @Excel(name = "支付时间")
    private String payTime;

    /** 支付方式（0微信、1支付宝、2银行卡） */
    @Excel(name = "支付方式", readConverterExp = "0=微信、1支付宝、2银行卡")
    private Long payType;

    /** 使用时间 */
    @Excel(name = "使用时间")
    private String useTime;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Long status;

    /** 删除状态 */
    @Excel(name = "删除状态")
    private String del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVerificationCode(String verificationCode) 
    {
        this.verificationCode = verificationCode;
    }

    public String getVerificationCode() 
    {
        return verificationCode;
    }
    public void setVerificationImg(String verificationImg) 
    {
        this.verificationImg = verificationImg;
    }

    public String getVerificationImg() 
    {
        return verificationImg;
    }
    public void setMid(Integer mid) 
    {
        this.mid = mid;
    }

    public Integer getMid() 
    {
        return mid;
    }
    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }
    public void setServiceId(Integer serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Integer getServiceId() 
    {
        return serviceId;
    }
    public void setServiceTypeId(Integer serviceTypeId) 
    {
        this.serviceTypeId = serviceTypeId;
    }

    public Integer getServiceTypeId() 
    {
        return serviceTypeId;
    }
    public void setOrderTime(String orderTime) 
    {
        this.orderTime = orderTime;
    }

    public String getOrderTime() 
    {
        return orderTime;
    }
    public void setReservationTime(String reservationTime) 
    {
        this.reservationTime = reservationTime;
    }

    public String getReservationTime() 
    {
        return reservationTime;
    }
    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setPlatformCouponId(Integer platformCouponId) 
    {
        this.platformCouponId = platformCouponId;
    }

    public Integer getPlatformCouponId() 
    {
        return platformCouponId;
    }
    public void setShopCouponId(Integer shopCouponId) 
    {
        this.shopCouponId = shopCouponId;
    }

    public Integer getShopCouponId() 
    {
        return shopCouponId;
    }
    public void setPrice(Double price) 
    {
        this.price = price;
    }

    public Double getPrice() 
    {
        return price;
    }
    public void setPayTime(String payTime) 
    {
        this.payTime = payTime;
    }

    public String getPayTime() 
    {
        return payTime;
    }
    public void setPayType(Long payType) 
    {
        this.payType = payType;
    }

    public Long getPayType() 
    {
        return payType;
    }
    public void setUseTime(String useTime) 
    {
        this.useTime = useTime;
    }

    public String getUseTime() 
    {
        return useTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("verificationCode", getVerificationCode())
            .append("verificationImg", getVerificationImg())
            .append("mid", getMid())
            .append("uid", getUid())
            .append("serviceId", getServiceId())
            .append("serviceTypeId", getServiceTypeId())
            .append("orderTime", getOrderTime())
            .append("reservationTime", getReservationTime())
            .append("carId", getCarId())
            .append("platformCouponId", getPlatformCouponId())
            .append("shopCouponId", getShopCouponId())
            .append("price", getPrice())
            .append("payTime", getPayTime())
            .append("payType", getPayType())
            .append("useTime", getUseTime())
            .append("status", getStatus())
            .append("del", getDel())
            .toString();
    }
}
